<template>
  <swiper>
    <swiper-item v-for="(item, index) in banner" :key="index">
      <a :href="item.link">
        <img :src="item.image" alt="" />
      </a>
    </swiper-item>
  </swiper>
</template>

<script>
import Swiper from "@/components/common/swiper/swiper.vue";
import SwiperItem from "@/components/common/swiper/swiperItem.vue";
export default {
  props: {
    banner: Array,
  },
  components: {
    Swiper,
    SwiperItem,
  },
};
</script>

<style></style>
